* {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
}

.nav-box {
    width: 200px;
    background: rgb(50, 65, 87);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
}

.nav-box ul {
    list-style: none;
    line-height: 50px;
    font-size: 14px;
    color: #ddd;
}

.nav-box ul .nav-block {
    padding-left: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    position: relative;
}

.nav-box ul .nav-block:hover {
    color: #fff;
    background: rgb(40, 52, 70);
}

.nav-box ul li i {
    display: inline-block;
    width: 40px;
    height: 40px;
}

.nav-box ul li i.arrow {
    position: absolute;
    top: 5px;
    right: 5px;
}

.nav-box ul li i.home {
    background: url(../images/logo.png) no-repeat center center;
    background-size: 18px;
}

.nav-box ul li i.order {
    background: url(../images/logo.jpg) no-repeat center center;
    background-size: 18px;
}
.nav-box ul li i.user {
    background: url(../images/logo.jpg) no-repeat center center;
    background-size: 18px;
}
.nav-box ul li i.arrow {
    background: url(../images/logo.jpg) no-repeat center center;
    background-size: 18px;
}
.nav-box .nav-block.on i.arrow{
    transform: rotate(0deg);
}
.nav-box .nav-two{
    display: block;
    width: 100%;
    font-size: 13px;
    line-height: 45px;
    /*display: none;*/
}
.nav-block.on+ul.nav-two{
    display: block;
}
.nav-box .nav-two li{
    padding-left: 38px;
    cursor: pointer;
}
.nav-box .nav-two li:hover{
background: rgb(48,52,70);
}
